<template>
  <view class="container">
    <my-login v-if="!token"></my-login>
    <my-user-info v-if="token"></my-user-info>
  </view>
</template>

<script>
  
  import {
    mapState,
    mapMutations,
    mapGetters
  } from 'Vuex'
  import tabbarNumber from "@/maxins/tabbar.js"
  export default {
       mixins:[tabbarNumber],
       computed:{
               ...mapState('m_user', ['token']),
       },
    data() {
      return {
        
      }
    },
    methods: {
    }
  }
</script>

<style>
page,.container{
  height: 100%;
}
</style>
